package ma.platform.server.student.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ma.platform.server.core.util.R;
import ma.platform.server.student.dto.TbStudentDto;
import ma.platform.server.student.entity.TbStudent;
import com.baomidou.mybatisplus.extension.service.IService;
import ma.platform.server.student.req.QueryStudentReq;
import ma.platform.server.student.vo.StudentExcelVo;
import org.springframework.validation.BindingResult;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_student(学生信息表)】的数据库操作Service
* @createDate 2024-08-27 17:01:05
*/
public interface TbStudentService extends IService<TbStudent> {

    Page<TbStudentDto> pageList(Page page, QueryStudentReq req);

    void removeBind(Long id);

    R importRole(List<StudentExcelVo> excelVOList, BindingResult bindingResult);

    List<TbStudent> listStudent(Long id);

    Long getStudentSchoolId(Long studentId);
}
